﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zocono.WCS.Domain.EntityInfo
{
    public class PlcReadDbInfo:IEntity
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long ID { get; set; }
        public long JobID { get; set; }
        public long PlcConnectionID { get; set; }

        public string EquipmentCode { get; set; }
        public int DbCode { get; set; }
        public int DbStart { get; set; }
        public int DbLength { get; set; }
        public bool IsHeartbeat { get; set; }
        public bool IsEnable { get; set; }
        /// <summary>
        /// 报文处理模块类型，用于工厂创建报文处理模块对象
        /// </summary>
        public string ProcessModuleType { get; set; }
        /// <summary>
        /// 报文处理模块对象的名称
        /// </summary>
        public string ProcessModuleName { get; set; }
        /// <summary>
        /// PLC名称其实由 jobname和plcconnectID确定一个
        /// </summary>
        public string PlcName { get; set; } 

    }
}
